package com.enjoyor.soa.traffic.frame.configure;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置文件ftp对象
 * 
 * @author fzj
 *
 */
@Component
@ConfigurationProperties(prefix = "ftp.upload")
public class FtpUploadConfig {
    /**
     * 上传目录
     */
    private String path;
    /**
     * ftp 主机ip
     */
    private String ip;
    /**
     * ftp 端口号
     */
    private String port;
    /**
     * ftp 用户名
     */
    private String user;
    /**
     * ftp 密码
     */
    private String password;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}